package com.study.spring.disruptor;

import com.lmax.disruptor.EventHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 功能描述：
 * <p>
 * author: ZACK
 * date: 2021/3/10 23:22
 */
public class TradeTransactionJMSNotifyHandler implements EventHandler<TradeTransaction> {

    private final Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void onEvent(TradeTransaction event, long sequence, boolean endOfBatch) throws Exception {
        logger.info("当前对象：{}", event);
    }
}
